<template>
	<view>
		<detail-main :customer="customer"></detail-main>
		
	</view>
</template>

<script>
	var customerjs = require('../../common/customer.js');
	import detailMain from "../../components/detail/detail-main.vue"
	export default {
		components:{
			detailMain
		},
		data() {
			return {
				customer: {
					cid: '',
					cname: '',
					csex: '',
					cphone: '',
					caddress: '',
					cage: '',
					cpic:'',
					man: false,
					woman: false,
					type:'新增' //新增客户
				}
				
			}
		},
		onLoad() {
			this.customer.cid = customerjs.getcid();
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
